//-
//- Copyright (c) Microsoft. All rights reserved.
//- Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-

extends ../layout

block content
  div.container
    //- Conditions for this page:
      // - already an organization member

    h1 We'll miss you!
    p.lead Are you sure that you want to leave the #{org.name} organization on GitHub?

    p Please carefully review this page. <strong>Data loss is possible</strong> if you have forks of private organization repos.

    p
      ul
        li GitHub account #{user.github.username} will be dropped from the org immediately
        li Your private forks of repos from #{org.name} will be deleted by GitHub
        li Work done in a private fork of a repo from #{org.name} will be lost

    form(method='post')
      p(style='margin-top:36px')
        input.btn.btn-primary.btn-lg(type='submit', value='Remove ' + user.github.username + ' from ' + org.name)
        | &nbsp;&nbsp;&nbsp;
        a.btn.btn-default.btn-lg(href=org.baseUrl) Cancel
